﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V = Science.Mathematics.VectorCalculus;

namespace VectorCalculus5Ed.Chapter1.Section2
{
    public class Example12
    {
        public Example12()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
            V.Vector f1 = V.UnitVector.i + V.UnitVector.k;

            V.Vector f2 = V.UnitVector.j + V.UnitVector.k;

            V.Vector f = -1.0 * f1 - f2;

            result += f[0].ToString() + "   " +
                f[1].ToString() + "   " + f[2].ToString() + "\r\n";
        }
    }
}

// -1   -1   -2